package cn.com.surker.oa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * erp供应商站点对应表
 * </p>
 *
 * @author admin
 * @since 2024-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OaSupplierOrg implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/**
	 * 供应商id
	 */
	private Long supplierId;

	/**
	 * 站点id
	 */
	private Long orgId;

	/**
	 * 站点id
	 */
	private String orgName;

	/**
	 * 数据源id
	 */
	private Long dsId;

	/**
	 * 供应商类型
	 */
	private Integer type;

	/**
	 * 状态
	 */
	private Integer status;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 创建人员
	 */
	private Long creater;

	/**
	 * 修改时间
	 */
	private Date updateTime;

	/**
	 * 修改人员
	 */
	private Long updater;

	/**
	 * 备注
	 */
	private String remarks;

	public OaSupplierOrg(){}

	public OaSupplierOrg(Long supplierId, Long orgId, String orgName, Long dsId, Integer type, Integer status, Date createTime, Long creater, Date updateTime, Long updater, String remarks) {
		this.supplierId = supplierId;
		this.orgId = orgId;
		this.orgName = orgName;
		this.dsId = dsId;
		this.type = type;
		this.status = status;
		this.createTime = createTime;
		this.creater = creater;
		this.updateTime = updateTime;
		this.updater = updater;
		this.remarks = remarks;
	}
}
